#ifndef ACCEL_H
#define ACCEL_H

#include "board.h"
//#include "ahrs.h"

extern float	accel[3];

// Calculate acceleration from raw accel data
extern void accel_update_x(unsigned short accel_raw_x);

extern void accel_update_y(unsigned short accel_raw_y);

extern void accel_update_z(unsigned short accel_raw_z);

// Initialize accel zero and scale
extern void accel_init(void);

#endif

